package com.siki.Utils;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class AccessKeyIdUtils {
    public static String ACCESS_KEY_ID;
    public static String ACCESS_KEY_SECRET;


    public static final String SIKI_ACCESS_KEY_ID = "LTAI4G8WzPZiimzx748mohAD";
    public static final String SIKI_ACCESS_KEY_SECRET = "t4MqFpY4rsM92hUkpDICx5221CnhPM";
    public static final String RUI_ACCESS_KEY_ID="LTAI4G6h9B9z1B2ySHHrq7nX";
    public static final String RUI_ACCESS_KEY_SECRET="9N2ENIJ03v0nby5ZuAWfdqfH50DGMd";

    @Value("${access_key_id}")
    public void setAccessKeyId(String accessKeyId) {
        AccessKeyIdUtils.ACCESS_KEY_ID = accessKeyId;
    }

    @Value("${access_key_secret}")
    public void setAccessKeySecret(String accessKeySecret) {
        AccessKeyIdUtils.ACCESS_KEY_SECRET = accessKeySecret;
    }
}
